package com.dozen.commonbase.view.cube;

import android.graphics.Color;

import com.dozen.commonbase.R;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: Dozen
 * @description:
 * @time: 2021/11/12
 */
public class CubeBean {

    public CubeBean() {
        cubeFaceList = new ArrayList<>();
        cubeFaceList.add(new CubeFace());//左
        cubeFaceList.add(new CubeFace());//前
        cubeFaceList.add(new CubeFace());//右
        cubeFaceList.add(new CubeFace());//后
        cubeFaceList.add(new CubeFace());//下
        cubeFaceList.add(new CubeFace());//上
    }

    public int[] bgID = {
            R.mipmap.app_icon_v3,
            R.mipmap.app_icon_v3,
            R.mipmap.app_icon_v3,
            R.mipmap.app_icon_v3,
            R.mipmap.app_icon_v3,
            R.mipmap.app_icon_v3,};//背景ID

    public String[] bgHttpUrl = {
            "https://static.clewm.net/cli/images/cli_logo_new.png",
            "https://static.clewm.net/cli/images/cli_logo_new.png",
            "https://static.clewm.net/cli/images/cli_logo_new.png",
            "https://static.clewm.net/cli/images/cli_logo_new.png",
            "https://static.clewm.net/cli/images/cli_logo_new.png",
            "https://static.clewm.net/cli/images/cli_logo_new.png",
    };

    public boolean bgNetLoad = false;

    public int cubeWidth = 500;//宽度
    public int cubeHeight = 500;//高度

    public List<CubeFace> cubeFaceList;

    public boolean isCenter = true;//是否居中显示

    public static class CubeFace {
        //边框属性
        public int cubeFaceColor[] = {Color.parseColor("#EC1010"), Color.parseColor("#EC6610"), Color.BLUE};//背景颜色
        public int cubeFaceStrokeColor = Color.parseColor("#FF54BBD6");
        public int cubeFaceStrokeWidth = 5;
        public int cubeFaceStrokeRadius = 5;
        public int cubeFaceStrokeDx = 5;
        public int cubeFaceStrokeDy = 5;
    }

}
